<?php

namespace App\Http\Requests\Backend\Sysconf;

use App\Http\Requests\BaseRequest;

class BasicRequest extends BaseRequest
{
    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * 表单验证.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'sys_name' => 'required|max:100',
			'themes' => 'required|integer',
			'page_limit' => '|integer',
			'page_list' => '|max:100',
			'money_flag' => '|max:100',
			'money_decimal' => '|integer',
			'is_open_captcha' => '|integer',
			'copyright' => '|max:100',
			'ipc' => '|max:100',
			'is_tips' => '|integer',
			'sort' => '|integer',
			'creator_uid' => '|integer',
			'updater_uid' => '|integer',
			'deleted_at' => '|integer',

        ];
    }
}
